package com.powernode.service.impl;

import com.github.pagehelper.PageInfo;
import com.powernode.domain.Notice;
import com.powernode.dto.NoticeDto;
import org.apache.ibatis.annotations.Param;

public interface NoticeService {


    int deleteByPrimaryKey(Integer id);

    int insert(Notice record);

    int insertSelective(Notice record);

    Notice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Notice record);

    int updateByPrimaryKey(Notice record);

    PageInfo<Notice> queryNoticeForPage(@Param("noticeDto") NoticeDto noticeDto);

}
